Vue.config.devtools = true;
const router = new VueRouter({
    routes: [
        {
            path: '/',
            component: app.menu,
            redirect: '/',
            children: [
                {
                    path: '/manage',
                    component: app.content,
                    name: 'manage',
                },
                {
                    path: '/record',
                    component: app.recent,
                    name: 'record',
                },
                {
                    path: '/points',
                    component: app.other,
                    name: 'points',
                }
            ]
        }
    ]
});
new Vue({router}).$mount('#app');